package cn.skyquant.quant4j.service.boot.web.vo;

import java.io.Serializable;

/**
 * Created by wanglaoshi on 2017-03-15.
 */
public class MenuItemVO implements Serializable {
    private static final long serialVersionUID = 2341123L;
    public final String label;
    public final String url;

    public MenuItemVO(String label, String url) {
        this.label = label;
        this.url = url;
    }

    @Override
    public String toString() {
        return String.format("<a href='%s'>%s<//a>",url,label);
    }
}
